package com.yb.core.util;

import cn.hutool.core.io.file.FileWriter;

public class YbFileWriter {
    public static void writeString(String pathname,String content){
        FileWriter fileWriter = new FileWriter(pathname);
        fileWriter.write(content);
    }

    public static void writeString(String pathname,String filename,String content){
        FileWriter fileWriter = new FileWriter(pathname+"\\"+filename);
        fileWriter.write(content);
    }
}
